<?php	
include('smarty_c.php');
$smarty->assign("title","php学习笔记029");
//==================引入配置文件=========================//
$val1=array(3,5,9,4,2,7);
$smarty->assign("arr1",$val1);
$val2=array('key1'=>"第一个值",'key2'=>"第2个值",'key3'=>"第3个值",'key4'=>"第4个值",'key5'=>"第5个值");
$smarty->assign("arr2",$val2);
//=======================foreach函数=================//
$smarty->assign("name","");
$smarty->display("s029_1.dwt");
?>